package cn.wjc.demo.partone.api;

import cn.wjc.demo.partone.api.fallback.NothingApiFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = ApiConstants.CLIENT_NAME, contextId = "partoneApi", fallbackFactory = NothingApiFallbackFactory.class)
public interface NothingApi {

    @GetMapping("/printNothing")
    String printNothing(String str);
}
